package xml.sax;

import java.io.Serializable;

/**
 * @author oldliu
 * @since 1.0
 */
public class Book implements Serializable {
    private int order;
    private String name;
    private int time;
    private int difficult;
    private String description;
    public Book(){

    }

    public Book(int order, String name, int time, int difficult, String description) {
        this.order = order;
        this.name = name;
        this.time = time;
        this.difficult = difficult;
        this.description = description;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getDifficult() {
        return difficult;
    }

    public void setDifficult(int difficult) {
        this.difficult = difficult;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Book{" +
                "order=" + order +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", difficult=" + difficult +
                ", description='" + description + '\'' +
                '}';
    }
}
